feat: portable coding agent across cli, web, mobile, and p2p#1032
Merged
Conversation
…sessions, more providers
Semgrep Security ScanNo security issues found. |
|
Preview environment destroyed 🧹 Stack |
PR Metrics
Updated Mon, 13 Jul 2026 15:43:22 GMT · run #2272 |
ital0
marked this pull request as ready for review
June 29, 2026 22:54
ital0
force-pushed
the
italomenezes/thunderbolt-cli-mvp
branch
from
July 10, 2026 19:14
c8d43a1 to
6be900d
Compare
There was a problem hiding this comment.
🔭 thunder-deep-review (advisory)
Complements the other bots — surfaces only what they did not flag. Never approves, never requests changes, never gates merge.
head: 6be900d44995 · mode: deep · deferred 5 item(s) already reported by other bots (best-effort dedup)
This was referenced Jul 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Medium Risk
Touches encryption/device trust and a DB migration for P2P dialability; mitigated by canary proof, trusted-caller checks, upload deny lists, and broad tests, but deploy still needs migration 0021.
Overview
Adds server-managed iroh P2P identity for devices: migration
0021storesnode_id/node_id_attested_atonpowersync.devices, and a new canary-gatedPOST /devices/:deviceId/node-idlets only a trusted caller (withX-Device-ID+ validcanarySecret) bind a peer’s endpoint.node_idis deny-listed on PowerSync uploads; revoke, deny, and re-registration clear the binding so revoked/denied peers stay undialable.CI/release expands for the portable agent stack: path-filtered jobs for
shared/agent-core,cli/, and wasm artifact staleness/checksum checks;rustalso buildscrates/thunderbolt-acp-client. A new CLI release workflow builds darwin-arm64 / linux x64 & arm64 binaries and attaches them (plusSHA256SUMS) to the sharedv{version}GitHub Release, hooked fromrelease.ymlforalland nightly runs.Smaller config/tooling tweaks: optional
VITE_IROH_RELAY_URLin.env.example, Prettier ignores for committed wasm glue, and a narrowed backendtsconfigshared include list. Newpowersyncupload gate tests cover device trust spoofing and delete isolation.Reviewed by Cursor Bugbot for commit a4a0393. Bugbot is set up for automated code reviews on this repo. Configure here.